package org.springblade.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author SYG
 * @since 2023-05-22
 */
@TableName("measuring_company_info")
@Data
public class MeasuringCompanyInfo extends Model<MeasuringCompanyInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 单位类型
     */
    @ApiModelProperty(value = "单位类型")
    private Integer companyTypeCode;

    /**
     * 单位类型名称
     */
    @ApiModelProperty(value = "单位类型名称")
    private String companyTypeName;

    /**
     * 位置
     */
    @ApiModelProperty(value = "位置")
    private String position;



    @ApiModelProperty(value = "id")
    private Long measuringChainId;



}
